﻿<%@ Page Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" CodeBehind="L_Timer.aspx.cs" Inherits="ScottCateAjax2008.Lesson05.L_Timer" Title="Timer Control" %>
<%@ Register src="../UserControls/TimeLabelButton.ascx" tagname="TimeLabelButton" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />

    <p>Update Panel Updates Every 5 seconds</p>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Timer ID="Timer1" runat="server" Interval="5000" ontick="Timer1_Tick" />
            <uc1:TimeLabelButton ID="TimeLabelButton1" runat="server" />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
